package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 转账日志实体
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TransferLog {
    private Integer id;
    private Integer fromAccountId; //转出账户id
    private Integer toAccountId; //转入账户id
    private BigDecimal amount; //转账金额
    private Integer status; //交易状态 1:成功 0:失败
    private LocalDateTime transferTime; //转账时间
}
